﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.IO;
using System.Drawing;
using System.Drawing.Printing;
using System.Windows.Forms;



// Input Variables : 

// Functions :
// public void print(string strFilePath, int intFontSize, string strFont)

// Return : 

namespace SPA_Prototype
{
    struct Coordinate
    {
        public int CurrentX;
        public int CurrentY;
        public string Data;
    }
    class Print
    {       
        #region Font and Color:------------------
        // Font and Color:------------------

        // Invoice Font
        private Font InvoiceFont = new Font("Arial", 12, FontStyle.Regular);
        // Black Color
        private SolidBrush BlackBrush = new SolidBrush(Color.Black);

        #endregion
        public void SetData(Graphics g, string S, List<Coordinate> Map)
        {    
            int i;
            long Length = Map.LongCount();
            for (i = 0; i < Length; i++)
            {
                g.DrawString(S, InvoiceFont, BlackBrush, Map[i].CurrentX, Map[i].CurrentY);
            }
        }
    }
}
